\section{rtdm-\/ioctl.c File Reference}
\label{rtdm-ioctl_8c}\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}


Ether\+C\+AT master character device.  


\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \textbf{ D\+E\+B\+U\+G\+\_\+\+L\+A\+T\+E\+N\+CY}~0
\begin{DoxyCompactList}\small\item\em Set to 1 to enable ioctl() latency tracing. \end{DoxyCompactList}\item 
\mbox{\label{rtdm-ioctl_8c_ae456bc7dfd6c3d54bccef2e234ecae7a}} 
\#define \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES}
\begin{DoxyCompactList}\small\item\em Optional compiler attributes fo ioctl() functions. \end{DoxyCompactList}\item 
\mbox{\label{rtdm-ioctl_8c_a80a51dad3458ecb73d12369fa9b50a02}} 
\#define \textbf{ E\+C\+\_\+\+I\+O\+C\+TL}~ec\+\_\+ioctl
\begin{DoxyCompactList}\small\item\em ioctl() function to use. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static void \textbf{ ec\+\_\+ioctl\+\_\+strcpy} (char $\ast$target, const char $\ast$source)
\begin{DoxyCompactList}\small\item\em Copies a string to an ioctl structure. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+module} (void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get module information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+master} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get master information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+sync} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave sync manager information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave sync manager P\+DO information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo\+\_\+entry} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave sync manager P\+DO entry information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+domain} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get domain information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+domain\+\_\+fmmu} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get domain F\+M\+MU information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+domain\+\_\+data} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get domain data. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+master\+\_\+debug} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Set master debug level. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+master\+\_\+rescan} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Issue a bus scan. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+state} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Set slave state. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+sdo} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave S\+DO information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+entry} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave S\+DO entry information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+upload} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Upload S\+DO. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+download} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Download S\+DO. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+read} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Read a slave\textquotesingle{}s S\+II. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+write} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Write a slave\textquotesingle{}s S\+II. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+read} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Read a slave\textquotesingle{}s registers. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+write} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Write a slave\textquotesingle{}s registers. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+config} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave configuration information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+config\+\_\+pdo} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave configuration P\+DO information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+config\+\_\+pdo\+\_\+entry} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave configuration P\+DO entry information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+config\+\_\+sdo} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave configuration S\+DO information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+config\+\_\+idn} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get slave configuration I\+DN information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+eoe\+\_\+handler} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Get EoE handler information. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+request} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Request the master from userspace. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+create\+\_\+domain} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Create a domain. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+create\+\_\+slave\+\_\+config} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Create a slave configuration. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+select\+\_\+ref\+\_\+clock} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Select the DC reference clock. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+activate} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Activates the master. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+deactivate} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Deactivates the master. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+set\+\_\+send\+\_\+interval} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Set max. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+send} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Send frames. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+receive} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Receive frames. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+master\+\_\+state} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Get the master state. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+master\+\_\+link\+\_\+state} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Get the link state. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+app\+\_\+time} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Set the master DC application time. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sync\+\_\+ref} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Sync the reference clock. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sync\+\_\+slaves} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Sync the slave clocks. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+ref\+\_\+clock\+\_\+time} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Get the system time of the reference clock. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+queue} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Queue the sync monitoring datagram. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+process} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Processes the sync monitoring datagram. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+reset} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Reset configuration. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+sync} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Configure a sync manager. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+watchdog} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Configure a slave\textquotesingle{}s watchdogs. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+pdo} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Add a P\+DO to the assignment. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+pdos} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Clears the P\+DO assignment. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+entry} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Add an entry to a P\+DO\textquotesingle{}s mapping. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+entries} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Clears the mapping of a P\+DO. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+entry} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Registers a P\+DO entry. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+pos} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Registers a P\+DO entry by its position. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+dc} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Sets the DC Assign\+Activate word and the sync signal times. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+sdo} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Configures an S\+DO. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+size} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Set the emergency ring buffer size. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+pop} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Get an emergency message from the ring. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+clear} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Clear the emergency ring. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+overruns} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Get the number of emergency overruns. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+sdo\+\_\+request} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Create an S\+DO request. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+reg\+\_\+request} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Create a register request. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+voe\+\_\+handler} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Create a VoE handler. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+state} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Get the slave configuration\textquotesingle{}s state. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sc\+\_\+idn} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Configures an I\+DN. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+domain\+\_\+size} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Gets the domain\textquotesingle{}s data size. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+domain\+\_\+offset} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Gets the domain\textquotesingle{}s offset in the total process data. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+domain\+\_\+process} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Process the domain. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+domain\+\_\+queue} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Queue the domain. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+domain\+\_\+state} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Get the domain state. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+index} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Sets an S\+DO request\textquotesingle{}s S\+DO index and subindex. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+timeout} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Sets an S\+DO request\textquotesingle{}s timeout. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+state} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Gets an S\+DO request\textquotesingle{}s state. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+read} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Starts an S\+DO read operation. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+write} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Starts an S\+DO write operation. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+data} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Read S\+DO data. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+data} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Read register data. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+state} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Gets an register request\textquotesingle{}s state. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+write} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Starts an register write operation. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+read} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Starts an register read operation. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+voe\+\_\+send\+\_\+header} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Sets the VoE send header. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+voe\+\_\+rec\+\_\+header} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Gets the received VoE header. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+voe\+\_\+read} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Starts a VoE read operation. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+voe\+\_\+read\+\_\+nosync} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Starts a VoE read operation without sending a sync message first. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+voe\+\_\+write} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Starts a VoE write operation. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+voe\+\_\+exec} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Executes the VoE state machine. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+voe\+\_\+data} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx)
\begin{DoxyCompactList}\small\item\em Reads the received VoE data. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+read} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Read a file from a slave via FoE. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+write} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Write a file to a slave via FoE. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+read} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Read an SoE I\+DN. \end{DoxyCompactList}\item 
static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int \textbf{ ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+write} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Write an I\+DN to a slave via SoE. \end{DoxyCompactList}\item 
long \textbf{ E\+C\+\_\+\+I\+O\+C\+TL} (\textbf{ ec\+\_\+master\+\_\+t} $\ast$master, ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$ctx, unsigned int cmd, void $\ast$arg)
\begin{DoxyCompactList}\small\item\em Called when an ioctl() command is issued. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Ether\+C\+AT master character device. 



\subsection{Macro Definition Documentation}
\mbox{\label{rtdm-ioctl_8c_aa33c965c87892b40c2bfdcbdc554c919}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!D\+E\+B\+U\+G\+\_\+\+L\+A\+T\+E\+N\+CY@{D\+E\+B\+U\+G\+\_\+\+L\+A\+T\+E\+N\+CY}}
\index{D\+E\+B\+U\+G\+\_\+\+L\+A\+T\+E\+N\+CY@{D\+E\+B\+U\+G\+\_\+\+L\+A\+T\+E\+N\+CY}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{D\+E\+B\+U\+G\+\_\+\+L\+A\+T\+E\+N\+CY}
{\footnotesize\ttfamily \#define D\+E\+B\+U\+G\+\_\+\+L\+A\+T\+E\+N\+CY~0}



Set to 1 to enable ioctl() latency tracing. 

Requires C\+PU timestamp counter! 

Definition at line 50 of file rtdm-\/ioctl.\+c.



\subsection{Function Documentation}
\mbox{\label{rtdm-ioctl_8c_acd138ad83a5a0b04e4a07c07c035d9ee}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+strcpy@{ec\+\_\+ioctl\+\_\+strcpy}}
\index{ec\+\_\+ioctl\+\_\+strcpy@{ec\+\_\+ioctl\+\_\+strcpy}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+strcpy()}
{\footnotesize\ttfamily static void ec\+\_\+ioctl\+\_\+strcpy (\begin{DoxyParamCaption}\item[{char $\ast$}]{target,  }\item[{const char $\ast$}]{source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Copies a string to an ioctl structure. 


\begin{DoxyParams}{Parameters}
{\em target} & Target. \\
\hline
{\em source} & Source. \\
\hline
\end{DoxyParams}


Definition at line 64 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ada73ba861c174f3e824cbe8519cd707b}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+module@{ec\+\_\+ioctl\+\_\+module}}
\index{ec\+\_\+ioctl\+\_\+module@{ec\+\_\+ioctl\+\_\+module}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+module()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+module (\begin{DoxyParamCaption}\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get module information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em arg} & Userspace address to store the results. \\
\hline
\end{DoxyParams}


Definition at line 83 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a942f48e33c4240985a3dfed151ddedd9}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+master@{ec\+\_\+ioctl\+\_\+master}}
\index{ec\+\_\+ioctl\+\_\+master@{ec\+\_\+ioctl\+\_\+master}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+master()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+master (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get master information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & Userspace address to store the results. \\
\hline
\end{DoxyParams}


Definition at line 104 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a6a52ca648afc723008809730bb65e271}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave@{ec\+\_\+ioctl\+\_\+slave}}
\index{ec\+\_\+ioctl\+\_\+slave@{ec\+\_\+ioctl\+\_\+slave}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & Userspace address to store the results. \\
\hline
\end{DoxyParams}


Definition at line 199 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ae9eb01986ce029d43e9ba687c80dcb03}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+sync@{ec\+\_\+ioctl\+\_\+slave\+\_\+sync}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+sync@{ec\+\_\+ioctl\+\_\+slave\+\_\+sync}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+sync()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+sync (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave sync manager information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & Userspace address to store the results. \\
\hline
\end{DoxyParams}


Definition at line 286 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a92e979e00e5dd87a6f8ca11ad0de7e25}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo@{ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo@{ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave sync manager P\+DO information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & Userspace address to store the results. \\
\hline
\end{DoxyParams}


Definition at line 339 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_af0488266107bb89aa140aa2999857a02}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo\+\_\+entry@{ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo\+\_\+entry}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo\+\_\+entry@{ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo\+\_\+entry}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo\+\_\+entry()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+sync\+\_\+pdo\+\_\+entry (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave sync manager P\+DO entry information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & Userspace address to store the results. \\
\hline
\end{DoxyParams}


Definition at line 398 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a243a28bf53be27260b5c5d143d6b282d}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+domain@{ec\+\_\+ioctl\+\_\+domain}}
\index{ec\+\_\+ioctl\+\_\+domain@{ec\+\_\+ioctl\+\_\+domain}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+domain()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+domain (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get domain information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & Userspace address to store the results. \\
\hline
\end{DoxyParams}


Definition at line 467 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a54ce5be9c8a9688255321d86cd459b89}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+domain\+\_\+fmmu@{ec\+\_\+ioctl\+\_\+domain\+\_\+fmmu}}
\index{ec\+\_\+ioctl\+\_\+domain\+\_\+fmmu@{ec\+\_\+ioctl\+\_\+domain\+\_\+fmmu}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+domain\+\_\+fmmu()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+domain\+\_\+fmmu (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get domain F\+M\+MU information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & Userspace address to store the results. \\
\hline
\end{DoxyParams}


Definition at line 512 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a3194159274c643424e8a3d5d9163f25e}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+domain\+\_\+data@{ec\+\_\+ioctl\+\_\+domain\+\_\+data}}
\index{ec\+\_\+ioctl\+\_\+domain\+\_\+data@{ec\+\_\+ioctl\+\_\+domain\+\_\+data}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+domain\+\_\+data()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+domain\+\_\+data (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get domain data. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & Userspace address to store the results. \\
\hline
\end{DoxyParams}


Definition at line 564 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a57444c126eeedeaeaf3b093a9fbbc3ad}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+master\+\_\+debug@{ec\+\_\+ioctl\+\_\+master\+\_\+debug}}
\index{ec\+\_\+ioctl\+\_\+master\+\_\+debug@{ec\+\_\+ioctl\+\_\+master\+\_\+debug}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+master\+\_\+debug()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+master\+\_\+debug (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Set master debug level. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 609 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ac31bef8ff8aa7767c418f3dfc4b6a925}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+master\+\_\+rescan@{ec\+\_\+ioctl\+\_\+master\+\_\+rescan}}
\index{ec\+\_\+ioctl\+\_\+master\+\_\+rescan@{ec\+\_\+ioctl\+\_\+master\+\_\+rescan}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+master\+\_\+rescan()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+master\+\_\+rescan (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Issue a bus scan. 

\begin{DoxyReturn}{Returns}
Always zero (success). 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 623 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ad4a6ca43584b9f02ec081b450010e9a6}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+state@{ec\+\_\+ioctl\+\_\+slave\+\_\+state}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+state@{ec\+\_\+ioctl\+\_\+slave\+\_\+state}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+state()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+state (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Set slave state. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 638 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_af4d6febb5963f48d824d6d745a7fa276}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+sdo@{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo@{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+sdo (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave S\+DO information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 673 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a3765b2ae70499fb1280a8c64fe625f34}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+entry@{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+entry}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+entry@{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+entry}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+entry()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+entry (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave S\+DO entry information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 722 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a58b6b59e482f67391ac1b656a6011f61}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+upload@{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+upload}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+upload@{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+upload}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+upload()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+upload (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Upload S\+DO. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 802 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ac04026c4a96a680bbc59fad0986b8523}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+download@{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+download}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+download@{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+download}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+download()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+sdo\+\_\+download (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Download S\+DO. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 848 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a033fb32a4704137456208258c2a0cf1a}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+read@{ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+read}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+read@{ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+read}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+read()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+read (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Read a slave\textquotesingle{}s S\+II. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 896 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ac3603b1007fcb890a3267df91bdfea74}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+write@{ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+write}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+write@{ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+write}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+write()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+sii\+\_\+write (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Write a slave\textquotesingle{}s S\+II. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 944 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a9ee06f1c78fd750d76324c65ce99bc0e}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+read@{ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+read}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+read@{ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+read}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+read()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+read (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Read a slave\textquotesingle{}s registers. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 1032 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a25896dc7046edda19448c51fc43a257e}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+write@{ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+write}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+write@{ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+write}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+write()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+reg\+\_\+write (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Write a slave\textquotesingle{}s registers. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 1111 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a0df9e7bdee5788abd1cba76367617610}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+config@{ec\+\_\+ioctl\+\_\+config}}
\index{ec\+\_\+ioctl\+\_\+config@{ec\+\_\+ioctl\+\_\+config}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+config()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+config (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave configuration information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 1189 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a75ca66980c8d3ad6a9d0163830d2b194}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+config\+\_\+pdo@{ec\+\_\+ioctl\+\_\+config\+\_\+pdo}}
\index{ec\+\_\+ioctl\+\_\+config\+\_\+pdo@{ec\+\_\+ioctl\+\_\+config\+\_\+pdo}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+config\+\_\+pdo()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+config\+\_\+pdo (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave configuration P\+DO information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 1247 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_aaae8d838482ee18a5ad151b5092fbd64}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+config\+\_\+pdo\+\_\+entry@{ec\+\_\+ioctl\+\_\+config\+\_\+pdo\+\_\+entry}}
\index{ec\+\_\+ioctl\+\_\+config\+\_\+pdo\+\_\+entry@{ec\+\_\+ioctl\+\_\+config\+\_\+pdo\+\_\+entry}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+config\+\_\+pdo\+\_\+entry()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+config\+\_\+pdo\+\_\+entry (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave configuration P\+DO entry information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 1303 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a5c22441bd854db23f598de4e7c5402be}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+config\+\_\+sdo@{ec\+\_\+ioctl\+\_\+config\+\_\+sdo}}
\index{ec\+\_\+ioctl\+\_\+config\+\_\+sdo@{ec\+\_\+ioctl\+\_\+config\+\_\+sdo}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+config\+\_\+sdo()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+config\+\_\+sdo (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave configuration S\+DO information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 1368 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ad5086c7e72fbd89b44ca710159c361f9}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+config\+\_\+idn@{ec\+\_\+ioctl\+\_\+config\+\_\+idn}}
\index{ec\+\_\+ioctl\+\_\+config\+\_\+idn@{ec\+\_\+ioctl\+\_\+config\+\_\+idn}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+config\+\_\+idn()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+config\+\_\+idn (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get slave configuration I\+DN information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 1432 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a13d8254794ace1ae6428cf86f5528cf3}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+eoe\+\_\+handler@{ec\+\_\+ioctl\+\_\+eoe\+\_\+handler}}
\index{ec\+\_\+ioctl\+\_\+eoe\+\_\+handler@{ec\+\_\+ioctl\+\_\+eoe\+\_\+handler}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+eoe\+\_\+handler()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+eoe\+\_\+handler (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get EoE handler information. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 1498 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a35b886d5e781f68571ecabc9f0c9f524}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+request@{ec\+\_\+ioctl\+\_\+request}}
\index{ec\+\_\+ioctl\+\_\+request@{ec\+\_\+ioctl\+\_\+request}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+request()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+request (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Request the master from userspace. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1550 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a07b52171e30d879a94c8b386c1ed4517}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+create\+\_\+domain@{ec\+\_\+ioctl\+\_\+create\+\_\+domain}}
\index{ec\+\_\+ioctl\+\_\+create\+\_\+domain@{ec\+\_\+ioctl\+\_\+create\+\_\+domain}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+create\+\_\+domain()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+create\+\_\+domain (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Create a domain. 

\begin{DoxyReturn}{Returns}
Domain index on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1575 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a78db07ae2cccd2e3d2f598e17ee2206a}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+create\+\_\+slave\+\_\+config@{ec\+\_\+ioctl\+\_\+create\+\_\+slave\+\_\+config}}
\index{ec\+\_\+ioctl\+\_\+create\+\_\+slave\+\_\+config@{ec\+\_\+ioctl\+\_\+create\+\_\+slave\+\_\+config}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+create\+\_\+slave\+\_\+config()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+create\+\_\+slave\+\_\+config (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Create a slave configuration. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1599 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ae20755d3e68bc4dafdf011aa16ef467d}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+select\+\_\+ref\+\_\+clock@{ec\+\_\+ioctl\+\_\+select\+\_\+ref\+\_\+clock}}
\index{ec\+\_\+ioctl\+\_\+select\+\_\+ref\+\_\+clock@{ec\+\_\+ioctl\+\_\+select\+\_\+ref\+\_\+clock}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+select\+\_\+ref\+\_\+clock()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+select\+\_\+ref\+\_\+clock (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Select the DC reference clock. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1645 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_af2400c270d691b44ae895e458e269de1}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+activate@{ec\+\_\+ioctl\+\_\+activate}}
\index{ec\+\_\+ioctl\+\_\+activate@{ec\+\_\+ioctl\+\_\+activate}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+activate()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+activate (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Activates the master. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1686 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a31554dd6d485543f8510c099ac6d5656}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+deactivate@{ec\+\_\+ioctl\+\_\+deactivate}}
\index{ec\+\_\+ioctl\+\_\+deactivate@{ec\+\_\+ioctl\+\_\+deactivate}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+deactivate()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+deactivate (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Deactivates the master. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1769 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a5184a2d161a424b07f9bbb71c0fd3fc7}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+set\+\_\+send\+\_\+interval@{ec\+\_\+ioctl\+\_\+set\+\_\+send\+\_\+interval}}
\index{ec\+\_\+ioctl\+\_\+set\+\_\+send\+\_\+interval@{ec\+\_\+ioctl\+\_\+set\+\_\+send\+\_\+interval}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+set\+\_\+send\+\_\+interval()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+set\+\_\+send\+\_\+interval (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Set max. 

number of databytes in a cycle

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1788 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a53339ebb45952b1381334236d3a1d67e}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+send@{ec\+\_\+ioctl\+\_\+send}}
\index{ec\+\_\+ioctl\+\_\+send@{ec\+\_\+ioctl\+\_\+send}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+send()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+send (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Send frames. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1820 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a772c16b24029717715a52d4a4c2db735}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+receive@{ec\+\_\+ioctl\+\_\+receive}}
\index{ec\+\_\+ioctl\+\_\+receive@{ec\+\_\+ioctl\+\_\+receive}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+receive()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+receive (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Receive frames. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1840 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a52ff32e95fad7655e3ec6c87038c19b8}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+master\+\_\+state@{ec\+\_\+ioctl\+\_\+master\+\_\+state}}
\index{ec\+\_\+ioctl\+\_\+master\+\_\+state@{ec\+\_\+ioctl\+\_\+master\+\_\+state}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+master\+\_\+state()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+master\+\_\+state (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the master state. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1860 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_acfc77a7cc993345245fb762f4d42d666}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+master\+\_\+link\+\_\+state@{ec\+\_\+ioctl\+\_\+master\+\_\+link\+\_\+state}}
\index{ec\+\_\+ioctl\+\_\+master\+\_\+link\+\_\+state@{ec\+\_\+ioctl\+\_\+master\+\_\+link\+\_\+state}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+master\+\_\+link\+\_\+state()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+master\+\_\+link\+\_\+state (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the link state. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1882 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_abd08a6dc1084758311324a41f70bec9c}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+app\+\_\+time@{ec\+\_\+ioctl\+\_\+app\+\_\+time}}
\index{ec\+\_\+ioctl\+\_\+app\+\_\+time@{ec\+\_\+ioctl\+\_\+app\+\_\+time}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+app\+\_\+time()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+app\+\_\+time (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Set the master DC application time. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1914 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a78a6db9319d00f88bc0c53c357e21555}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sync\+\_\+ref@{ec\+\_\+ioctl\+\_\+sync\+\_\+ref}}
\index{ec\+\_\+ioctl\+\_\+sync\+\_\+ref@{ec\+\_\+ioctl\+\_\+sync\+\_\+ref}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sync\+\_\+ref()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sync\+\_\+ref (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Sync the reference clock. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1939 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a29cc791a19a4a4d8b87217c5f89032f9}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sync\+\_\+slaves@{ec\+\_\+ioctl\+\_\+sync\+\_\+slaves}}
\index{ec\+\_\+ioctl\+\_\+sync\+\_\+slaves@{ec\+\_\+ioctl\+\_\+sync\+\_\+slaves}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sync\+\_\+slaves()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sync\+\_\+slaves (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Sync the slave clocks. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1959 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ac5dcb42967b26a6bd13b82318398d68e}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+ref\+\_\+clock\+\_\+time@{ec\+\_\+ioctl\+\_\+ref\+\_\+clock\+\_\+time}}
\index{ec\+\_\+ioctl\+\_\+ref\+\_\+clock\+\_\+time@{ec\+\_\+ioctl\+\_\+ref\+\_\+clock\+\_\+time}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+ref\+\_\+clock\+\_\+time()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+ref\+\_\+clock\+\_\+time (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the system time of the reference clock. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 1979 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ae47243a1ccdf552e3d5b21c9e3dbeab9}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+queue@{ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+queue}}
\index{ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+queue@{ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+queue}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+queue()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+queue (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Queue the sync monitoring datagram. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2010 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_aa67ce6dbb549e62d3d691703c1f43947}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+process@{ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+process}}
\index{ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+process@{ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+process}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+process()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sync\+\_\+mon\+\_\+process (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Processes the sync monitoring datagram. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2030 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a4e3da585706e6510a2100b2e926c9405}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+reset@{ec\+\_\+ioctl\+\_\+reset}}
\index{ec\+\_\+ioctl\+\_\+reset@{ec\+\_\+ioctl\+\_\+reset}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+reset()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+reset (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Reset configuration. 

\begin{DoxyReturn}{Returns}
Always zero (success). 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2055 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a0dc04c6fcfea00daeeadff9cfa7b6d02}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+sync@{ec\+\_\+ioctl\+\_\+sc\+\_\+sync}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+sync@{ec\+\_\+ioctl\+\_\+sc\+\_\+sync}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+sync()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+sync (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Configure a sync manager. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2073 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a53abf2431d1485a290ac8e3a00c9a7f6}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+watchdog@{ec\+\_\+ioctl\+\_\+sc\+\_\+watchdog}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+watchdog@{ec\+\_\+ioctl\+\_\+sc\+\_\+watchdog}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+watchdog()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+watchdog (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Configure a slave\textquotesingle{}s watchdogs. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2126 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a99206a910b1f007bdd3a519028f2ea80}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+pdo@{ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+pdo}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+pdo@{ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+pdo}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+pdo()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+pdo (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Add a P\+DO to the assignment. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2171 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a27e57c9c40a30401af4b5a5e71d39fbe}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+pdos@{ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+pdos}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+pdos@{ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+pdos}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+pdos()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+pdos (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Clears the P\+DO assignment. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2205 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a87dfdcb663e20d4e059faf82d1982bcb}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+entry@{ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+entry}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+entry@{ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+entry}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+entry()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+add\+\_\+entry (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Add an entry to a P\+DO\textquotesingle{}s mapping. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2240 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a1c03ed57fb119cca3ad3ba673b58a1a0}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+entries@{ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+entries}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+entries@{ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+entries}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+entries()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+clear\+\_\+entries (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Clears the mapping of a P\+DO. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2275 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a1a043b2b5a43f64be550405ff07e90a0}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+entry@{ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+entry}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+entry@{ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+entry}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+entry()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+entry (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Registers a P\+DO entry. 

\begin{DoxyReturn}{Returns}
Process data offset on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc or domain could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2310 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_aef03b686bacda87d5618179d27e7d97f}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+pos@{ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+pos}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+pos@{ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+pos}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+pos()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+reg\+\_\+pdo\+\_\+pos (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Registers a P\+DO entry by its position. 

\begin{DoxyReturn}{Returns}
Process data offset on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc or domain could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2357 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_aeb27ef22146dbe53354e368f3cba5df9}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+dc@{ec\+\_\+ioctl\+\_\+sc\+\_\+dc}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+dc@{ec\+\_\+ioctl\+\_\+sc\+\_\+dc}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+dc()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+dc (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Sets the DC Assign\+Activate word and the sync signal times. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2407 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a69e32e215effa23dc3755b2315fbff4e}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+sdo@{ec\+\_\+ioctl\+\_\+sc\+\_\+sdo}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+sdo@{ec\+\_\+ioctl\+\_\+sc\+\_\+sdo}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+sdo()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+sdo (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Configures an S\+DO. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2447 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ab04d5fc34acbd3daa896c943f9f9a1f6}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+size@{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+size}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+size@{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+size}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+size()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+size (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Set the emergency ring buffer size. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2506 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a4cdaf5b41f957dfeb241e34b7a34b5ad}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+pop@{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+pop}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+pop@{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+pop}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+pop()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+pop (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get an emergency message from the ring. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2544 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ac8935491e253d3ee9efafb04a281963e}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+clear@{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+clear}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+clear@{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+clear}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+clear()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+clear (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Clear the emergency ring. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2588 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ae8fc9359ecff755a7b425bebfdbd5179}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+overruns@{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+overruns}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+overruns@{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+overruns}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+overruns()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+emerg\+\_\+overruns (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the number of emergency overruns. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2621 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ab1b3c000bc85fde89ba651183acab3ad}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+sdo\+\_\+request@{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+sdo\+\_\+request}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+sdo\+\_\+request@{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+sdo\+\_\+request}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+sdo\+\_\+request()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+sdo\+\_\+request (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Create an S\+DO request. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2666 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a5c85cb635383bc8a191012b134d4be78}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+reg\+\_\+request@{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+reg\+\_\+request}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+reg\+\_\+request@{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+reg\+\_\+request}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+reg\+\_\+request()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+reg\+\_\+request (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Create a register request. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2717 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ad564c2bea05d6a8969cadfc35a0afa5f}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+voe\+\_\+handler@{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+voe\+\_\+handler}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+voe\+\_\+handler@{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+voe\+\_\+handler}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+voe\+\_\+handler()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+create\+\_\+voe\+\_\+handler (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Create a VoE handler. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2771 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a10372b687290738df325e725a38a5e3e}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+state@{ec\+\_\+ioctl\+\_\+sc\+\_\+state}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+state@{ec\+\_\+ioctl\+\_\+sc\+\_\+state}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+state()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+state (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the slave configuration\textquotesingle{}s state. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2821 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a665fe3b51fc0de48b80b94a08d60a9ea}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sc\+\_\+idn@{ec\+\_\+ioctl\+\_\+sc\+\_\+idn}}
\index{ec\+\_\+ioctl\+\_\+sc\+\_\+idn@{ec\+\_\+ioctl\+\_\+sc\+\_\+idn}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sc\+\_\+idn()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sc\+\_\+idn (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Configures an I\+DN. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}
\begin{DoxyRefDesc}{Todo}
\item[\textbf{ Todo}]sc could be invalidated \end{DoxyRefDesc}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2859 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a6c00a451ac68ca2d2476407c9213a432}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+domain\+\_\+size@{ec\+\_\+ioctl\+\_\+domain\+\_\+size}}
\index{ec\+\_\+ioctl\+\_\+domain\+\_\+size@{ec\+\_\+ioctl\+\_\+domain\+\_\+size}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+domain\+\_\+size()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+domain\+\_\+size (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gets the domain\textquotesingle{}s data size. 

\begin{DoxyReturn}{Returns}
Domain size, or a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2913 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ae35b7d7bd07aa11cd4693ebd41cf85f9}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+domain\+\_\+offset@{ec\+\_\+ioctl\+\_\+domain\+\_\+offset}}
\index{ec\+\_\+ioctl\+\_\+domain\+\_\+offset@{ec\+\_\+ioctl\+\_\+domain\+\_\+offset}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+domain\+\_\+offset()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+domain\+\_\+offset (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gets the domain\textquotesingle{}s offset in the total process data. 

\begin{DoxyReturn}{Returns}
Domain offset, or a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2947 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a84be630007b8e33d158e3aa77a4c0947}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+domain\+\_\+process@{ec\+\_\+ioctl\+\_\+domain\+\_\+process}}
\index{ec\+\_\+ioctl\+\_\+domain\+\_\+process@{ec\+\_\+ioctl\+\_\+domain\+\_\+process}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+domain\+\_\+process()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+domain\+\_\+process (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Process the domain. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 2981 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a2065710d9f99d4133234eaeda14e0580}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+domain\+\_\+queue@{ec\+\_\+ioctl\+\_\+domain\+\_\+queue}}
\index{ec\+\_\+ioctl\+\_\+domain\+\_\+queue@{ec\+\_\+ioctl\+\_\+domain\+\_\+queue}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+domain\+\_\+queue()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+domain\+\_\+queue (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Queue the domain. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3009 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_aac54c2a8ddaa954c219ec1aef6f0b92f}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+domain\+\_\+state@{ec\+\_\+ioctl\+\_\+domain\+\_\+state}}
\index{ec\+\_\+ioctl\+\_\+domain\+\_\+state@{ec\+\_\+ioctl\+\_\+domain\+\_\+state}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+domain\+\_\+state()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+domain\+\_\+state (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Get the domain state. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3037 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a161d41f456793dd2717a3df9ae181d04}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+index@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+index}}
\index{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+index@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+index}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+index()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+index (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Sets an S\+DO request\textquotesingle{}s S\+DO index and subindex. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3075 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_adee230c269c4a44a0843f1187986781f}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+timeout@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+timeout}}
\index{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+timeout@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+timeout}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+timeout()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+timeout (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Sets an S\+DO request\textquotesingle{}s timeout. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3112 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a5fed9cf044e8d43c4743e6ee0c50d4a4}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+state@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+state}}
\index{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+state@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+state}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+state()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+state (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gets an S\+DO request\textquotesingle{}s state. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3149 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a360b0bec95dc92279a677fb9fb1218a2}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+read@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+read}}
\index{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+read@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+read}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+read()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+read (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Starts an S\+DO read operation. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3194 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a91b490dd3442381bbff15c0309e4161c}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+write@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+write}}
\index{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+write@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+write}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+write()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+write (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Starts an S\+DO write operation. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3231 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_aa79b6fd9f7e81f30b587ebb3bcc70c82}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+data@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+data}}
\index{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+data@{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+data}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+data()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+sdo\+\_\+request\+\_\+data (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Read S\+DO data. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3282 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_aed3bbdc5ba9b4869dbad5e93831aaf69}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+data@{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+data}}
\index{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+data@{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+data}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+data()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+data (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Read register data. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3322 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_abffd25a47e56eb3b0cbdd0d2f4412e76}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+state@{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+state}}
\index{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+state@{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+state}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+state()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+state (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gets an register request\textquotesingle{}s state. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3369 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_abb1b5ca921f2702896d6c718bb8c9018}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+write@{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+write}}
\index{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+write@{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+write}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+write()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+write (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Starts an register write operation. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3414 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_af8dcbdaabd9338b9b281b65f1a58ee5d}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+read@{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+read}}
\index{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+read@{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+read}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+read()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+reg\+\_\+request\+\_\+read (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Starts an register read operation. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3462 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a7169eec47b84a9292ec85d9f4da8a755}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+voe\+\_\+send\+\_\+header@{ec\+\_\+ioctl\+\_\+voe\+\_\+send\+\_\+header}}
\index{ec\+\_\+ioctl\+\_\+voe\+\_\+send\+\_\+header@{ec\+\_\+ioctl\+\_\+voe\+\_\+send\+\_\+header}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+voe\+\_\+send\+\_\+header()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+voe\+\_\+send\+\_\+header (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Sets the VoE send header. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3505 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_abba36d5915353726fb9419b1050c88a8}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+voe\+\_\+rec\+\_\+header@{ec\+\_\+ioctl\+\_\+voe\+\_\+rec\+\_\+header}}
\index{ec\+\_\+ioctl\+\_\+voe\+\_\+rec\+\_\+header@{ec\+\_\+ioctl\+\_\+voe\+\_\+rec\+\_\+header}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+voe\+\_\+rec\+\_\+header()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+voe\+\_\+rec\+\_\+header (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Gets the received VoE header. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3550 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a74734c520ab97d46f0eb8ac266fc4a47}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+voe\+\_\+read@{ec\+\_\+ioctl\+\_\+voe\+\_\+read}}
\index{ec\+\_\+ioctl\+\_\+voe\+\_\+read@{ec\+\_\+ioctl\+\_\+voe\+\_\+read}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+voe\+\_\+read()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+voe\+\_\+read (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Starts a VoE read operation. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3598 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_afbe5f63b27479db159ab2e02de40807e}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+voe\+\_\+read\+\_\+nosync@{ec\+\_\+ioctl\+\_\+voe\+\_\+read\+\_\+nosync}}
\index{ec\+\_\+ioctl\+\_\+voe\+\_\+read\+\_\+nosync@{ec\+\_\+ioctl\+\_\+voe\+\_\+read\+\_\+nosync}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+voe\+\_\+read\+\_\+nosync()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+voe\+\_\+read\+\_\+nosync (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Starts a VoE read operation without sending a sync message first. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3635 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a8f715426e81e259bc71685cf94250d0d}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+voe\+\_\+write@{ec\+\_\+ioctl\+\_\+voe\+\_\+write}}
\index{ec\+\_\+ioctl\+\_\+voe\+\_\+write@{ec\+\_\+ioctl\+\_\+voe\+\_\+write}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+voe\+\_\+write()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+voe\+\_\+write (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Starts a VoE write operation. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3672 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a49e529bb95e6cd2cdcd4bc7c2f3f6129}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+voe\+\_\+exec@{ec\+\_\+ioctl\+\_\+voe\+\_\+exec}}
\index{ec\+\_\+ioctl\+\_\+voe\+\_\+exec@{ec\+\_\+ioctl\+\_\+voe\+\_\+exec}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+voe\+\_\+exec()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+voe\+\_\+exec (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Executes the VoE state machine. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3718 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a6ffb45eb28399b4330cb9efaace774fa}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+voe\+\_\+data@{ec\+\_\+ioctl\+\_\+voe\+\_\+data}}
\index{ec\+\_\+ioctl\+\_\+voe\+\_\+data@{ec\+\_\+ioctl\+\_\+voe\+\_\+data}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+voe\+\_\+data()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+voe\+\_\+data (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Reads the received VoE data. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
{\em ctx} & Private data structure of file handle. \\
\hline
\end{DoxyParams}


Definition at line 3763 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a2518a2b3264af0fbbb007ac07da00748}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+read@{ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+read}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+read@{ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+read}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+read()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+read (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Read a file from a slave via FoE. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 3803 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a18d53cf47aa3c37019abad476a8ed104}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+write@{ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+write}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+write@{ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+write}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+write()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+foe\+\_\+write (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Write a file to a slave via FoE. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 3899 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a11936252bf7e93a7149933acf630288d}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+read@{ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+read}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+read@{ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+read}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+read()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+read (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Read an SoE I\+DN. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 3987 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_a52bdb6f782205b184d6f5890587b735f}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+write@{ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+write}}
\index{ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+write@{ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+write}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+write()}
{\footnotesize\ttfamily static \textbf{ A\+T\+T\+R\+I\+B\+U\+T\+ES} int ec\+\_\+ioctl\+\_\+slave\+\_\+soe\+\_\+write (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Write an I\+DN to a slave via SoE. 

\begin{DoxyReturn}{Returns}
Zero on success, otherwise a negative error code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 4036 of file rtdm-\/ioctl.\+c.

\mbox{\label{rtdm-ioctl_8c_ad2b4e3422cd9ad887c6618a333bb0205}} 
\index{rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}!E\+C\+\_\+\+I\+O\+C\+TL@{E\+C\+\_\+\+I\+O\+C\+TL}}
\index{E\+C\+\_\+\+I\+O\+C\+TL@{E\+C\+\_\+\+I\+O\+C\+TL}!rtdm-\/ioctl.\+c@{rtdm-\/ioctl.\+c}}
\subsubsection{E\+C\+\_\+\+I\+O\+C\+T\+L()}
{\footnotesize\ttfamily long E\+C\+\_\+\+I\+O\+C\+TL (\begin{DoxyParamCaption}\item[{\textbf{ ec\+\_\+master\+\_\+t} $\ast$}]{master,  }\item[{ec\+\_\+ioctl\+\_\+context\+\_\+t $\ast$}]{ctx,  }\item[{unsigned int}]{cmd,  }\item[{void $\ast$}]{arg }\end{DoxyParamCaption})}



Called when an ioctl() command is issued. 

\begin{DoxyReturn}{Returns}
ioctl() return code. 
\end{DoxyReturn}

\begin{DoxyParams}{Parameters}
{\em master} & Ether\+C\+AT master. \\
\hline
{\em ctx} & Device context. \\
\hline
{\em cmd} & ioctl() command identifier. \\
\hline
{\em arg} & ioctl() argument. \\
\hline
\end{DoxyParams}


Definition at line 4090 of file rtdm-\/ioctl.\+c.

